<!DOCTYPE html>
<html>
	<include file="Public/header" />
	<body>
		<div class="mui-content">
		    <header class="mui-bar mui-bar-nav pub_head">
		        <a class="mui-action-back mui-icon mui-pull-left iconfont icon-left" href="javascript:history.go(-1)"></a>
		        <h1 class="mui-title">今日课表</h1>
		    </header>
		    <ul class="mui-table-view mTop dule_list">
		    	<volist name='data' id='val'>
			        <li class="mui-table-view-cell mui-collapse dule_cell">
			            <a class="meal_active" href="#">
			            	<i class="iconfont icon-icon"></i>
			            	<span class="dule_week">星期
				            	<if condition="date('N',$val['time']) eq 1">一
									<elseif condition="date('N',$val['time']) eq 2" />二
									<elseif condition="date('N',$val['time']) eq 3" />三
									<elseif condition="date('N',$val['time']) eq 4" />四
									<elseif condition="date('N',$val['time']) eq 5" />五
									<else />
			            		</if>
			            	<!-- {:date('N',$val['time'])} --></span>
			            	<span class="dule_mLeft">{$val['time']|date="Y年m月d日",###}</span>
			            </a>
			            <div class="mui-collapse-content dule_list_list">
			                <ul class="dule_list_cont">
			                	<li>
			                		<span>上午:</span>
			                		<span class="dule_list_course">{$val['morning']}</span>
			                	</li>
			                	<li>
			                		<span>下午:</span>
			                		<span class="dule_list_course">{$val['afternoon']}</span>
			                	</li>
			                </ul>
			            </div>
			        </li>
				</volist>
		        <!-- <li class="mui-table-view-cell mui-collapse dule_cell">
		            <a class="meal_active" href="#">
		            	<i class="iconfont icon-icon"></i>
		            	<span class="dule_week">星期五</span>
		            	<span class="dule_mLeft">2017年6月15日</span></a>
		                <div class="mui-collapse-content dule_list_list">
		                <ul class="dule_list_cont">
		                	<li>
		                		<span>上午:</span>
		                		<span class="dule_list_course">语文、数学、美术、体育</span>
		                	</li>
		                	<li>
		                		<span>下午:</span>
		                		<span class="dule_list_course">语文、数学、美术、体育</span>
		                	</li>
		                </ul>
		            </div>
		        </li> -->
		    </ul>
		</div>
		<if condition="empty($data)">
			<div class="mui-content">
			    <div class="no-message">
			    	<i class="iconfont icon-zanwuxiaoxitixing"></i>
			    	<p>暂无消息</p>
	    		</div>
			</div>
		</if>	
	</body>
</html>
